package yang.yu.sunny.infra.persistence.sales;

import yang.yu.sunny.domain.sales.ProductPrice;

import java.util.Date;

/**
 * Created by yyang on 16/3/29.
 */
public interface ProductPriceMapper extends AbstractSalesMapper<ProductPrice> {

    void setUnitPriceOf(Long productId, double unitPrice, Date time);

    double getUnitPriceOf(Long productId, Date time);

}
